from pydantic import BaseModel
from datetime import datetime

class EformWorkOrderSchema(BaseModel):
    checked_date : str     
    failure_sym: str
    location: str
    action: str
    finding :str
    serialno: str
    line_order: str
    cews_order: str
    received_date: str


class EformStatusData(BaseModel):
    pass_string: str
    fail_string: str
    overall_test_result: str | None = None
    verify_sic_resulta: str | None = None
    endorsment_result: str | None = None
    is_endorse_required: bool
    verifiedDate: datetime | None
    endorsedDate: datetime | None
    doneDate: datetime | None